package com.zs.infrastructure.util.basic;

/**
 * @description: http返回参数
 * @author: wzc
 * @createDate: 2022/2/7 22:42
 */
public class ZsHttpReponse<T> {

    /** 错误代码 */
    private Integer code;

    /** 错误信息 */
    private String msg;

    /** 返回结果数据 */
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
